package org.example.myleet.p1446;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(2 == solution.maxPower("leetcode"));
        Assert.isTrue(3 == solution.maxPower("leetttcode"));
        Assert.isTrue(4 == solution.maxPower("leetccccode"));
        Assert.isTrue(5 == solution.maxPower("abbcccddddeeeeedcba"));
        Assert.isTrue(5 == solution.maxPower("triplepillooooow"));
        Assert.isTrue(11 == solution.maxPower("hooraaaaaaaaaaay"));
        Assert.isTrue(1 == solution.maxPower("tourist"));
        Assert.isTrue(2 == solution.maxPower("ccbccbb"));
    }
}
